-
Notifications
You must be signed in to change notification settings - Fork 116
Add hummingbird Lambda example #544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello @Joannis would you have time to review this new Hummingbird Lambda example ? |
Will do @sebsto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a basic example, I'm assuming they can find out the other tools they need for things like fetching secrets?
Thank you @Joannis . There are plenty of other examples for Lambda. I haven't included an example how to fetch secrets (are you thinking about AWS Secrets Manager) ? but I can plan for that too |
Add Hummingbird web framework integration example for AWS Lambda
Motivation:
Developers using the Hummingbird web framework need a clear example of how to integrate it with AWS Lambda. The existing examples focus on basic Lambda handlers, but don't demonstrate how to use popular Swift web frameworks like Hummingbird in a serverless context.
Modifications:
Added a complete Hummingbird Lambda example in Examples/Hummingbird/ including Package.swift with Hummingbird Lambda dependencies, main.swift demonstrating router setup with API Gateway V2 integration, SAM template for deployment, and comprehensive README documentation with build, deploy, and usage instructions.
Result:
Developers can now easily create AWS Lambda functions using the Hummingbird web framework, with a working example that shows router configuration, API Gateway integration, and complete deployment workflow using familiar Hummingbird syntax.